#ifndef PAGE_LOGIN_H
#define PAGE_LOGIN_H
#include <QWidget>
#include "stusql.h"
#include "mainwindow.h"
namespace Ui {
class Page_login;
}

class Page_login : public QWidget
{
    Q_OBJECT

public:
    explicit Page_login(QWidget *parent = 0);
    ~Page_login();
    void paintEvent(QPaintEvent *);
private slots:
    void on_btn_login_clicked();

    void on_btn_exit_clicked();
signals:

private:
    Ui::Page_login *ui;
    stuSql* stu;
    MainWindow w;
};

#endif // PAGE_LOGIN_H
